import 'dart:convert';

List<InterestLevel> interestLevelFromJson(String str) => List<InterestLevel>.from(json.decode(str).map((x) => InterestLevel.fromJson(x)));

String interestLevelToJson(List<InterestLevel> data) => json.encode(List<dynamic>.from(data.map((x) => x.toJson())));

class InterestLevel {
    InterestLevel({
        this.displayName,
        this.interestLevel,
        this.orderNumber,
    });

    String? displayName;
    String? interestLevel;
    int? orderNumber;

    factory InterestLevel.fromJson(Map<String, dynamic> json) => InterestLevel(
        displayName: json["displayName"],
        interestLevel: json["interestLevel"],
        orderNumber: json["orderNumber"],
    );

    Map<String, dynamic> toJson() => {
        "displayName": displayName,
        "interestLevel": interestLevel,
        "orderNumber": orderNumber,
    };
}
